record class · System
Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
public record class Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> : IToString, IHashable<Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>>
10 items in an object: Item1…Item10, fixed when it is made.
- Kind
- record class
- Namespace
- System
- Assembly
- System.Core
- Access
- public, record
- Source file
Tuples.ant
Type parameters
| Name | Constraints |
|---|---|
T1 | any type |
T2 | any type |
T3 | any type |
T4 | any type |
T5 | any type |
T6 | any type |
T7 | any type |
T8 | any type |
T9 | any type |
T10 | any type |
Inheritance
- Base classes
-
AnyTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> - Interfaces
-
IToStringIHashable<TSelf>
Constructors
new(T1 Item1, T2 Item2, T3 Item3, T4 Item4, T5 Item5, T6 Item6, T7 Item7, T8 Item8, T9 Item9, T10 Item10)
#
Methods
ToValueTuple() : (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
#
The same items in a ValueTuple.
override ToString() : str
#
Fields
readonly T1 Item1
#
readonly T2 Item2
#
readonly T3 Item3
#
readonly T4 Item4
#
readonly T5 Item5
#
readonly T6 Item6
#
readonly T7 Item7
#
readonly T8 Item8
#
readonly T9 Item9
#
readonly T10 Item10
#
Inherited members (3)
GetTypemethod from AnyUndescribedmethod from Anydestroymethod from Any
Source
Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> as Antril, decompiled from its Larva HIR.
// System.Tuple — System.Core (decompiled from Larva HIR)
into namespace System
{
/// 10 items in an object: Item1…Item10, fixed when it is made.
public record class Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> : IToString, IHashable<Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>>
{
public:
readonly T1 Item1;
readonly T2 Item2;
readonly T3 Item3;
readonly T4 Item4;
readonly T5 Item5;
readonly T6 Item6;
readonly T7 Item7;
readonly T8 Item8;
readonly T9 Item9;
readonly T10 Item10;
new(T1 Item1, T2 Item2, T3 Item3, T4 Item4, T5 Item5, T6 Item6, T7 Item7, T8 Item8, T9 Item9, T10 Item10)
{
this.Item1 = Item1;
this.Item2 = Item2;
this.Item3 = Item3;
this.Item4 = Item4;
this.Item5 = Item5;
this.Item6 = Item6;
this.Item7 = Item7;
this.Item8 = Item8;
this.Item9 = Item9;
this.Item10 = Item10;
}
/// The same items in a ValueTuple.
ToValueTuple() : (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) => (Item1, Item2, Item3, Item4, Item5, Item6, Item7, Item8, Item9, Item10);
}
}